@use "../mixins/namespace" as *;

// 自定义 ElementPlus 暗黑主题
@forward "element-plus/theme-chalk/src/dark/var.scss" //
  with (
  $colors: (
    //
    "white": #ffffff,
    "black": #000000,
    "success": ("base": #13deb9),
    "warning": ("base": #ffae1f),
    "danger": ("base": #ff4d4f),
    "error": ("base": #fa896b),
  )
);

@use "element-plus/theme-chalk/src/dark/css-vars.scss" as *;

$text-size: rgb(255 255 255 / 70%);

html.dark {
  --#{$el-namespace}-text-color-regular: #{$text-size};
}
